package com.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

@Getter
@Setter
@Accessors(chain = true)
public class MQError {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("异常主题")
    private String topic;

    @ApiModelProperty("异常主题info")
    private String topicInfo;

    @ApiModelProperty("异常分区")
    private String tag;

    @ApiModelProperty("mq输入参数")
    private String paramObjects;

    @ApiModelProperty("异常信息的状态 0:未处理；1：已处理；这里的处理是指有没有手动处理这个异常的消息")
    private Integer statusFlag;

    @ApiModelProperty("创建时间")
    private Date crAt;

    @ApiModelProperty("异常信息")
    private String errorMessage;

    @ApiModelProperty("异常消息的keys")
    private String errorKeys;

    //consumer 生产者的异常或者是消费者的异常
    @ApiModelProperty("id")
    @Deprecated
    private String type;





}
